<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 当屏幕大于640px 我们让div一行显示两个 */
        /* 当屏幕小于640px 让div一行显示一个 */
    </style>
    <link rel="stylesheet" href="../css/style640+.css">
    <link rel="stylesheet" href="../css/style640.css" media="screen and (max-width: 640px)">
</head>
<body>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</body>
</html>